package eam

import javafx.beans.property.SimpleStringProperty
import javafx.beans.property.StringProperty

/**
 * Created by Misty on 2015/6/5.
 */
@EAM
class EAMObject {
    public final StringProperty textProperty() {
        if (text == null) {
            text = new SimpleStringProperty(this, "text", "")
        }
        return text;
    }
    private StringProperty text;
//
//    public final void setText(String value) {
//        textProperty().setValue(value)
//    }
//
//    public final String getText() {
//        return text == null ? null : text.getValue()
//    }

//    private DoubleProperty amountDue = new SimpleDoubleProperty()
//
//    public final double getAmountDue() { return amountDue.get() }
//
//    public final void setAmountDue(double value) { amountDue.set(value) }
//
//    public DoubleProperty amountDueProperty() { return amountDue }
}
